<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
    
    <c:set var="ctx" value="${facesContext.externalContext.requestContextPath}"/>
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="${ctx}/css/common.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/css/div.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/css/link.css" rel="stylesheet" type="text/css" />
        <link href="${ctx}/css/richfaces.css" rel="stylesheet" type="text/css" />
        <title><ui:insert name="title">Title</ui:insert></title>
    </head>
    
    <style type="text/css">
        body {
            position: relative;
            width : 100%;
            top: 20px;
            background-color : #cccccc;
        }
        
        fieldset {
            background-color : #ffffff;
            border : solid 1px;
        }
        
        legend {
            background-color : #ffffff;
            border : solid 1px;
        }
    </style>
    <body>
        <f:view>
            <f:loadBundle basename="common.messages" var="msgs"/>
            <h:form>
                <fieldset>
                    <legend><ui:insert name="contenttitle">Title</ui:insert></legend>
                    <ui:insert name="contentbody">Content</ui:insert>
                </fieldset>
            </h:form>
        </f:view>
    </body>    
</html>